import pygame
import os
from source import tools,setup
from source.states import mainMenu,loadScreen,level

def main():
    stateDict={
        'mainMenu':mainMenu.MainMenu(),
        'loadScreen':loadScreen.loadScreen(),
        'level':level.Level(),
    }
    game = tools.Game(stateDict,'mainMenu')

    game.run()#setup.GRAPHICS

if __name__ == '__main__':
    main()
